:root {
    --bg-color: #ECF7FF;
    --bg-secondary: #F8E8D0;
    --bg-card: #FFFFFF;
    --bg-gradient: linear-gradient(180deg, #E8F7FF 0%, #F9ECD7 45%, #FFF8EF 100%);
    --text-primary: #102A40;
    --text-secondary: #5F6F85;

    --color-primary: #60A5FA;
    --color-secondary: #C19664;
    --color-accent: #F5B24F;
    --color-highlight: #F8D18A;
    --color-coral: #D97706;

    --gradient-primary: linear-gradient(135deg, #7DD3FC 0%, #F7D5A8 100%);
    --gradient-accent: linear-gradient(135deg, #F7D5A8 0%, #60A5FA 100%);
    --gradient-text: linear-gradient(90deg, #60A5FA, #C19664, #F5B24F);
    --gradient-card: linear-gradient(135deg, rgba(96, 165, 250, 0.12) 0%, rgba(245, 178, 79, 0.12) 100%);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 40px rgba(96, 165, 250, 0.12);
    --shadow-hover: 0 20px 60px rgba(245, 178, 79, 0.18);
    --shadow-glow: 0 0 30px rgba(96, 165, 250, 0.22);
    --header-height: 5.5rem;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-color: #0B1630;
    --bg-secondary: #15233F;
    --bg-card: #162C4D;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;

    /* More vibrant hues for dark mode */
    --color-primary: #60A5FA;
    --color-secondary: #C19664;
    --color-accent: #F5B24F;
    --color-highlight: #F8D18A;

    --gradient-card: linear-gradient(135deg, rgba(96, 165, 250, 0.12) 0%, rgba(245, 178, 79, 0.12) 100%);
    --bg-gradient: linear-gradient(180deg, #061025 0%, #0B1630 45%, #112449 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

.text-highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header */
#header-placeholder {
    position: relative;
    z-index: 1100;
    height: var(--header-height);
    flex-shrink: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--header-height);
    padding: 0.85rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1100;
    box-shadow: 0 14px 42px rgba(16, 89, 139, 0.08);
    border-bottom: 1px solid rgba(96, 165, 250, 0.18);
    overflow: visible;
}

[data-theme="dark"] .header {
    background: rgba(11, 22, 48, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.35);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.logo-image {
    display: block;
    height: 2.75rem;
    width: auto;
    max-width: min(42vw, 240px);
    filter: drop-shadow(0 0 18px rgba(96, 165, 250, 0.28));
}

.nav {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-item.has-dropdown > .nav-link {
    cursor: pointer;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.65rem 0.85rem;
    position: relative;
    transition: var(--transition);
    border-radius: 8px;
}

.nav-link::after {
    display: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: var(--gradient-primary);
    text-shadow: none;
}

/* Dropdown Navigation */
.nav-item.has-dropdown {
    position: relative;
}

.nav-item.has-dropdown>.nav-link::before {
    content: none;
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(96, 165, 250, 0.12);
    margin-top: 1rem;
}

[data-theme="dark"] .dropdown-menu {
    background: rgba(12, 22, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
}

.dropdown-item:hover {
    color: var(--color-primary);
    background: rgba(96, 165, 250, 0.12);
    padding-left: 2rem;
}

.dropdown-item.active {
    color: var(--color-primary);
    background: rgba(96, 165, 250, 0.18);
}

.dropdown-item:hover::before {
    height: 70%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--header-height) 10% 0;
    position: relative;
    background: linear-gradient(135deg, rgba(224, 244, 255, 0.96), rgba(250, 236, 210, 0.94));
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(255, 250, 241, 0.98));
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 28%),
                radial-gradient(circle at bottom right, rgba(247, 181, 86, 0.12), transparent 24%);
    z-index: 0;
    opacity: 0.95;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, rgba(9, 20, 37, 0.94), rgba(15, 23, 42, 0.98));
}

[data-theme="dark"] .hero::before {
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
}

[data-theme="dark"] .hero::after {
    background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 28%),
                radial-gradient(circle at bottom right, rgba(247, 181, 86, 0.10), transparent 24%);
    opacity: 0.8;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    text-align: left;
    width: 100%;
    max-width: 1280px;
    z-index: 10;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 560px;
    color: var(--text-primary);
}

.hero-eyebrow {
    color: var(--color-coral);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

[data-theme="dark"] .hero-eyebrow {
    color: var(--color-highlight);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    min-height: 500px;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 70px rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Glassmorphism spheres for a premium look */
.hero-image::before,
.hero-image::after {
    display: none;
}

.hero-image::before {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    top: -10%;
    right: -10%;
}

.hero-image::after {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 178, 79, 0.22) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: var(--transition);
    position: relative;
}

.hero-image.img-failed::after {
    content: 'âœˆï¸';
    font-size: 8rem;
    position: absolute;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(96, 165, 250, 0.5));
    animation: float 4s infinite ease-in-out;
}

.hero-title {
    font-size: clamp(3.1rem, 7vw, 6.4rem);
    margin-bottom: 1.4rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
}

[data-theme="dark"] .hero-title {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.6rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.18);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(96, 165, 250, 0.28);
}

.btn-secondary {
    background: rgba(96, 165, 250, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(96, 165, 250, 0.35);
}

[data-theme="dark"] .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
    background: rgba(96, 165, 250, 0.18);
    transform: translateY(-5px);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(245, 178, 79, 0.18);
}

/* Cards & Grids */
.section {
    padding: 6rem 10%;
    background: linear-gradient(180deg, rgba(232, 244, 255, 0.45), rgba(251, 237, 216, 0.55));
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Journey Map Explorer */
.map-explorer-section {
    padding: 6rem 10%;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.12), rgba(248, 232, 204, 1));
}

[data-theme="dark"] .map-explorer-section {
    background: linear-gradient(180deg, rgba(11, 22, 48, 0.95), rgba(21, 35, 63, 1));
}

.map-explorer-top {
    max-width: 860px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.map-explorer-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin: 0.8rem auto 0;
    max-width: 780px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.journey-flare-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.journey-flare-card {
    flex: 1 1 240px;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid rgba(193, 150, 100, 0.18);
    border-radius: 22px;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(18px);
}

[data-theme="dark"] .journey-flare-card {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.journey-flare-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: rgba(245, 178, 79, 0.18);
    color: var(--text-primary);
    font-size: 1.45rem;
}

.journey-flare-card strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.journey-flare-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.journey-route-strip {
    margin: 2rem auto 0;
    padding: 1.35rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(193, 150, 100, 0.18);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    box-shadow: 0 24px 60px rgba(96, 165, 250, 0.08);
}

[data-theme="dark"] .journey-route-strip {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.journey-route-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 22%),
                radial-gradient(circle at bottom right, rgba(245, 178, 79, 0.12), transparent 24%);
    pointer-events: none;
}

.route-stop {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(96, 165, 250, 0.14);
    color: var(--text-primary);
    flex: 1 1 180px;
    min-width: 180px;
    z-index: 1;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.route-stop-active {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(245, 178, 79, 0.22));
    border: 1px solid rgba(245, 178, 79, 0.35);
}

.route-stop-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.15);
    color: var(--text-primary);
    font-size: 1.25rem;
}

.route-stop-name {
    font-weight: 700;
    color: var(--text-primary);
}

.route-connector {
    flex: 0 0 64px;
    height: 2px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.25), rgba(96, 165, 250, 0.75), rgba(96, 165, 250, 0.25));
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .route-connector {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.2), rgba(248, 209, 138, 0.7), rgba(96, 165, 250, 0.2));
}

.route-connector::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, transparent 70%);
    background-size: 14px 14px;
    background-position: left center;
    background-repeat: repeat-x;
    opacity: 0.7;
}

.route-plane {
    position: absolute;
    top: 50%;
    left: 6%;
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    z-index: 2;
    animation: plane-fly 10s linear infinite;
}

@keyframes plane-fly {
    0% { left: 6%; transform: translateY(-50%) rotate(0deg); }
    25% { left: 30%; transform: translateY(-60%) rotate(10deg); }
    50% { left: 54%; transform: translateY(-55%) rotate(-10deg); }
    75% { left: 78%; transform: translateY(-58%) rotate(5deg); }
    100% { left: 94%; transform: translateY(-50%) rotate(0deg); }
}

.hero-map-shell {
    flex-direction: column !important;
    padding: 1.5rem !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(18px);
    margin-top: 1.5rem;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .hero-map-shell {
    background: rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.12);
}
.hero-map-intro {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

[data-theme="dark"] .hero-map-intro {
    color: var(--color-highlight);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.map-explorer-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin: -1.5rem auto 2rem;
    max-width: 720px;
    font-size: 1.05rem;
}

.map-option-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.map-option-btn {
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-primary);
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="dark"] .map-option-btn {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.map-option-btn:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.map-option-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(96, 165, 250, 0.24);
}

.map-tab-icon {
    display: none;
}

.map-option-panels {
    background: linear-gradient(135deg, rgba(232, 244, 255, 0.95), rgba(251, 239, 221, 0.85));
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 24px 60px rgba(96, 165, 250, 0.10);
}

.map-panel {
    display: none;
}

.map-panel.is-active {
    display: block;
}

.map-canvas {
    width: 100%;
    min-height: 560px;
    border-radius: 8px;
    overflow: hidden;
    background: #0b2a56;
}

.map-canvas .map-fallback {
    min-height: 560px;
    display: grid;
    place-items: center;
    color: #dbeafe;
    font-weight: 600;
    padding: 1.5rem;
}

.timeline-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 1rem;
}

.timeline-map-canvas {
    min-height: 560px;
}

.timeline-map-wrap {
    width: 100%;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .timeline-layout {
        grid-template-columns: 1fr;
    }

    .timeline-map-canvas {
        min-height: 380px;
    }
}

.timeline-side {
    background: var(--bg-card);
    border: 1px solid rgba(193, 150, 100, 0.18);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
}

[data-theme="dark"] .timeline-side {
    border-color: rgba(255, 255, 255, 0.1);
}

.timeline-controls {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.timeline-controls label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 700;
}

.timeline-controls input[type="range"] {
    width: 100%;
    accent-color: #60A5FA;
}

.timeline-play-btn {
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    color: #0f172a;
    background: linear-gradient(135deg, #60A5FA, #F5B24F);
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    max-height: 430px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.4rem;
}

.timeline-list::-webkit-scrollbar {
    width: 5px;
}

.timeline-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.timeline-list::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.3);
    border-radius: 10px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: var(--bg-color);
    padding: 0.62rem;
    cursor: pointer;
    transition: var(--transition);
}

.timeline-item:hover {
    border-color: rgba(96, 165, 250, 0.58);
    transform: translateX(2px);
}

.timeline-item.active {
    border-color: rgba(245, 178, 79, 0.9);
    background: rgba(245, 178, 79, 0.16);
}

.timeline-step-index {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.18);
    color: var(--text-primary);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.timeline-item.active .timeline-step-index {
    background: #F5B24F;
    color: #102A40;
}

.timeline-step-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}

.timeline-step-title:hover {
    color: #60A5FA;
}

.timeline-step-meta {
    margin: 0.15rem 0 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.leaflet-container {
    font-family: var(--font-body);
}

.map-point-tooltip {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.15);
    padding: 0.2rem 0.55rem;
}

.map-point-tooltip.leaflet-tooltip-top:before {
    border-top-color: rgba(255, 255, 255, 0.95);
}

.map-point-link {
    color: #e2ecf6;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.map-point-link:hover {
    color: #60A5FA;
}

/* Travel Grid */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.india-destinations {
    margin-top: 8rem;
}

.travel-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(96, 165, 250, 0.08);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.14);
}

.travel-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.14);
    border-color: rgba(96, 165, 250, 0.22);
}

.card-img-placeholder {
    height: 240px;
    background: #17212B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 1.5rem;
}

.card-img-placeholder.has-photo {
    background-position: center;
    background-size: cover;
}

.card-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(96, 165, 250, 0.08) 0%, rgba(193, 150, 100, 0.18) 100%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%);
}

.card-kicker,
.card-place {
    position: relative;
    z-index: 1;
}

.card-kicker {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.card-img-placeholder:not(.has-photo) .card-kicker::after {
    content: 'Photos coming soon';
    display: block;
    width: fit-content;
    margin: 0.65rem auto 0;
    padding: 0.32rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.card-place {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.destination-malaysia {
    background: linear-gradient(135deg, #60A5FA, #F8D18A);
}

.destination-langkawi {
    background: linear-gradient(135deg, #7DD3FC, #F4C77C);
}

.destination-singapore {
    background: linear-gradient(135deg, #F97316, #F8D18A);
}

.destination-australia {
    background: linear-gradient(135deg, #60A5FA, #C19664);
}

.destination-srilanka {
    background: linear-gradient(135deg, #60A5FA, #F5B24F);
}

.destination-dubai {
    background: linear-gradient(135deg, #C19664, #F59E0B);
}

.destination-sikkim {
    background: linear-gradient(135deg, #60A5FA, #C19664);
}

.destination-gujarat {
    background: linear-gradient(135deg, #C19664, #F59E0B);
}

.destination-dapoli {
    background: linear-gradient(135deg, #60A5FA, #C19664);
}

.destination-alibaug {
    background: linear-gradient(135deg, #A66E3D, #F5B24F);
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 800;
}

.card-date {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 1.2rem;
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.card-link {
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.card-link:hover {
    gap: 1rem;
    color: var(--color-primary);
}

/* Page Headers */
.page-header {
    padding: 12rem 5% 8rem;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(232, 244, 255, 0.95), rgba(250, 235, 211, 0.95)),
        url('../../photos/hero-travel.jpg') center / cover;
    position: relative;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Header auth */
.header-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.auth-sign-in-btn {
    padding: 0.55rem 1rem !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.auth-user-menu {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.auth-user-menu[hidden] {
    display: none !important;
}

.auth-user-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(96, 165, 250, 0.35);
}

.auth-user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-sign-out-btn {
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: transparent;
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
}

.auth-sign-out-btn:hover {
    background: rgba(96, 165, 250, 0.12);
}

/* Page engagement / likes */
.page-engagement {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.hero-content .page-engagement {
    justify-content: flex-start;
    margin-top: 1.25rem;
}

.like-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem !important;
    font-size: 0.85rem !important;
    border-radius: 999px !important;
}

.like-btn.is-liked {
    background: rgba(245, 178, 79, 0.2) !important;
    border-color: var(--color-accent) !important;
    color: var(--text-primary) !important;
}

.like-btn .like-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.like-count {
    min-width: 1.25rem;
    font-weight: 800;
}

/* Auth modal */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.auth-modal[hidden] {
    display: none !important;
}

body.auth-modal-open {
    overflow: hidden;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.auth-modal-panel {
    position: relative;
    width: min(420px, 100%);
    background: var(--bg-card);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 2rem 1.75rem 1.5rem;
    box-shadow: var(--shadow-hover);
}

.auth-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.auth-modal-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.auth-provider-buttons {
    display: grid;
    gap: 0.65rem;
}

.auth-provider-btn {
    width: 100%;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-primary);
}

.auth-provider-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.auth-provider-google {
    border-color: rgba(96, 165, 250, 0.45);
}

.auth-provider-facebook {
    border-color: rgba(24, 119, 242, 0.35);
}

.auth-provider-apple {
    border-color: rgba(148, 163, 184, 0.45);
}

.auth-modal-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-height: 1.25rem;
}

.auth-modal-note.is-error {
    color: #dc2626;
}

/* Content Sections */
.content-section {
    padding: 6rem 10%;
}

.content-block {
    margin-bottom: 5rem;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-block h2 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
}

/* Vision & Mission */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.vm-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(193, 150, 100, 0.16);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.vm-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.vm-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* Travelers/Board */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: var(--bg-card);
    padding: 2.5rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(193, 150, 100, 0.1);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.member-img-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.16);
}

.member-name {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: rgba(255, 250, 241, 0.96);
    padding: 6rem 5% 4rem;
    text-align: center;
    border-top: 1px solid rgba(193, 150, 100, 0.18);
    position: relative;
}

.footer p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.footer-links {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    text-align: left;
}

.footer-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-group h4 {
    color: var(--color-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.footer-links a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    opacity: 0.7;
}

.footer-links a:hover {
    color: var(--color-primary);
    opacity: 1;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.28);
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 8px;
    background: rgba(96, 165, 250, 0.08);
}

.social-links a:hover {
    color: var(--color-accent);
    background: rgba(245, 178, 79, 0.16);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .header {
        padding: 0.75rem 4%;
    }

    .logo-image {
        height: 2.4rem;
        max-width: min(50vw, 200px);
    }

    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--bg-card);
        padding: calc(var(--header-height) + 1.5rem) 2rem 2rem;
        gap: 1.25rem;
        transition: var(--transition);
        z-index: 1101;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
        border-left: 1px solid rgba(96, 165, 250, 0.2);
        overflow-y: auto;
    }

    [data-theme="dark"] .nav {
        border-left-color: rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav .nav-link {
        width: 100%;
        text-align: left;
    }

    .header-auth {
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .auth-user-name {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1102;
        position: relative;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 1.5rem;
        display: none;
        min-width: auto;
        margin-top: 0.5rem;
    }

    .nav-item.has-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero-container {
        flex-direction: column-reverse;
        padding-top: 0;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .travel-grid {
        grid-template-columns: 1fr;
    }
}

/* Comments Section */
.comments-section {
    background: radial-gradient(circle at bottom, var(--bg-card) 0%, var(--bg-color) 100%);
    padding-bottom: 8rem;
}

.giscus-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    box-shadow: var(--shadow-hover);
    margin-top: 2rem;
}

/* ========================================
   PHOTO GALLERY COMPONENT STYLES
   ======================================== */

.gallery-coming-soon {
    padding: 3rem;
    text-align: center;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(255, 107, 53, 0.25);
    margin: 2rem 0;
}

.gallery-coming-soon h3 {
    color: var(--color-orange);
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.gallery-coming-soon p {
    color: var(--text-secondary);
    margin: 0;
}

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.view-btn {
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 255, 254, 0.05);
    color: var(--text-secondary);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
}

.view-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.view-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Gallery Container */
.gallery-container {
    margin-top: 2rem;
}

/* Grid View */
.gallery-container.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* List View */
.gallery-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-container.list-view .photo-card {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.gallery-container.list-view .photo-wrapper {
    flex: 0 0 400px;
}

.gallery-container.list-view .photo-info {
    flex: 1;
}

/* Photo Card */
.photo-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.2);
    border-color: rgba(0, 180, 216, 0.3);
}

.photo-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-card:hover .photo-wrapper img {
    transform: scale(1.05);
}

/* Photo Overlay */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
    pointer-events: auto;
}

.photo-comment-panel {
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.photo-comment-list {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.photo-comment-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.95rem 1rem;
}

.photo-comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.photo-comment-author {
    font-weight: 700;
    color: var(--text-primary);
}

.photo-comment-text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.photo-comment-empty {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    padding: 1rem 0;
}

.photo-comment-form {
    display: grid;
    gap: 0.75rem;
}

.photo-comment-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.photo-comment-input {
    width: 100%;
    min-height: 108px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    padding: 1rem;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.photo-comment-input:focus {
    outline: none;
    border-color: rgba(0, 180, 216, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.photo-comment-submit {
    justify-self: flex-end;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
}

.photo-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    border-radius: 999px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.photo-action-btn:hover {
    background: rgba(0, 180, 216, 0.12);
    border-color: rgba(0, 180, 216, 0.25);
}

.photo-action-btn.is-selected {
    background: rgba(245, 178, 79, 0.2);
    border-color: rgba(245, 178, 79, 0.45);
}

.photo-stat {
    font-weight: 700;
    min-width: 1.2rem;
    display: inline-flex;
    justify-content: center;
}

.photo-comment-submit {
    font-weight: 700;
}

.photo-comment-panel[hidden] {
    display: none;
}

.photo-engagement {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 1rem 1.25rem 0.8rem;
    align-items: center;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.photo-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    border-radius: 999px;
    transition: var(--transition);
}

.photo-action-btn.is-selected {
    background: rgba(245, 178, 79, 0.16);
    border-color: rgba(245, 178, 79, 0.35);
}

.photo-action-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.photo-stat {
    font-weight: 700;
    min-width: 1.2rem;
    display: inline-flex;
    justify-content: center;
}

.fullscreen-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--color-pink);
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fullscreen-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

/* Photo Info (List View) */
.photo-info {
    padding: 1.5rem;
}

.photo-info h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.photo-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ========================================
   LIGHTBOX / FULLSCREEN VIEWER
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--color-orange);
    border-color: var(--color-orange);
    transform: rotate(90deg);
}

.lightbox-image-container {
    width: min(100%, 1800px);
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    color: white;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.photo-counter {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-nav:hover:not(:disabled) {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .logo-image {
        height: 2.9rem;
        max-width: min(62vw, 240px);
    }

    .map-explorer-subtitle {
        margin-top: -1rem;
        font-size: 0.95rem;
    }

    .map-option-panels {
        padding: 0.7rem;
        border-radius: 20px;
    }

    .map-option-toggle {
        gap: 0.5rem;
    }

    .map-option-btn {
        font-size: 0.78rem;
        padding: 0.62rem 0.85rem;
    }

    .map-canvas {
        min-height: 420px;
        border-radius: 14px;
    }

    .timeline-layout {
        grid-template-columns: 1fr;
    }

    .timeline-map-canvas {
        min-height: 360px;
    }

    .timeline-list {
        max-height: none;
    }

    .gallery-container.grid-view {
        grid-template-columns: 1fr;
    }

    .gallery-container.list-view .photo-card {
        flex-direction: column;
    }

    .gallery-container.list-view .photo-wrapper {
        flex: 1;
        width: 100%;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-content {
        padding: 1rem;
    }
}

/* Theme Control */
.theme-control {
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.theme-control-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.theme-select {
    min-width: 170px;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    transition: var(--transition);
}

.theme-select:hover,
.theme-select:focus {
    border-color: rgba(0, 180, 216, 0.45);
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.12);
}
